package com.example.gulimall.common.enums;

import lombok.Getter;

/**
 * @author caedmon
 * @since 1.0
 */
public enum Status  {
    /**
     * 未删除状态
     */
    NORMAL(1, "正常"),
    /**
     * 已删除状态
     */
    DELETED(2, "删除");

    @Getter
    private int code;
    @Getter
    private String desc;

    Status(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

}
